﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VOL.Entity.DomainModels.WorkforceManagement
{
    /// <summary>
    /// 排班计划
    /// </summary>
    public class WorkPlan
    {
        /// <summary>
        /// 主键id
        /// </summary>
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int Id { get; set; }

        /// <summary>
        /// 班组编号
        /// </summary>
        public string GroupCode { get; set; }

        /// <summary>
        /// 班组名称
        /// </summary>
        public string GroupName { get; set; }

        /// <summary>
        /// 排班编号
        /// </summary>
        public string PlanCode { get; set; }

        /// <summary>
        /// 计划名称
        /// </summary>
        public string PlanName { get; set; }

        /// <summary>
        /// 开始日期
        /// </summary>
        public DateTime StartDate { get; set; }

        /// <summary>
        /// 结束日期
        /// </summary>
        public DateTime EndDate { get; set; }

        /// <summary>
        /// 班组类型
        /// </summary>
        public string GroupType { get; set; }

        /// <summary>
        /// 轮班方式(0白班1两班倒)
        /// </summary>
        public int Shift { get; set; }

        /// <summary>
        /// 倒班方式(0按天1按周2按月)
        /// </summary>
        public int ChangeShift { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Desc { get; set; }
    }
}
